package sisicotren.model.simulator;

import java.util.ArrayList;

public class SimulationStats {

	public SimulationStats() {
		maxQueueSizes = new ArrayList<Integer>();
		maxTimeInQueue = new ArrayList<Double>();
	}
	
	public void addMaxQueueSize(Integer queueNum, Integer size) {
		this.maxQueueSizes.add(queueNum, size);
	}
	
	public void addMaxTimeInQueue(Integer queueNum, Double time) {
		this.maxTimeInQueue.add(queueNum, time);
	}
	
	public void setLambdaUsed(Double lambda) {
		this.lambda = lambda;
	}
	
	public void setMuUsed(Double mu) {
		this.mu = mu;
	}
	
	public int getTotalClients() {
		return totalClients;
	}

	public void setTotalClients(int totalClients) {
		this.totalClients = totalClients;
	}

	public long getTotalSimulationTime() {
		return totalSimulationTime;
	}

	public void setTotalSimulationTime(long totalSimulationTime) {
		this.totalSimulationTime = totalSimulationTime;
	}

	public ArrayList<Integer> getMaxQueueSizes() {
		return maxQueueSizes;
	}

	public ArrayList<Double> getMaxTimeInQueue() {
		return maxTimeInQueue;
	}
	
	public Double getLambdaUsed() {
		return lambda;
	}
	
	public Double getMuUsed() {
		return mu;
	}

	public void setExecutionTime(Long time){
		this.executionTime = time;
	}
	
	public Long getExecutionTime() {
		return this.executionTime;
	}
	
	private ArrayList<Integer> maxQueueSizes;
	private ArrayList<Double> maxTimeInQueue;
	private Double lambda;
	private Double mu;
	
	private int totalClients;
	private long totalSimulationTime;
	private long executionTime;
}
